

import request from '@/utils/request.ts'

// 获取商品详情
// 写法1  对象结构
// 写法2  直接传递proid

// export const getProDetail = ({proid})=>{
export const getProDetail = ({proid}) => {
    return request({
        url: `pro/detail/${proid}`,
        method: 'get',
        data:{
            proid 
        }
    })
}